package com.ruoyi.consumables.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 耗材记录对象 consumables
 * 
 * @author ruoyi
 * @date 2023-04-22
 */
public class Consumables extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 耗材编码 */
    private Long consumablesId;

    /** 耗材名称 */
    @Excel(name = "耗材名称")
    private String consumablesName;

    /** 耗材数量 */
    @Excel(name = "耗材数量")
    private String consumablesCount;

    /** 耗材单位 */
    @Excel(name = "耗材单位")
    private String consumablesUnit;

    /** 耗材规格 */
    @Excel(name = "耗材规格")
    private String consumablesSpecification;

    public void setConsumablesId(Long consumablesId) 
    {
        this.consumablesId = consumablesId;
    }

    public Long getConsumablesId() 
    {
        return consumablesId;
    }
    public void setConsumablesName(String consumablesName) 
    {
        this.consumablesName = consumablesName;
    }

    public String getConsumablesName() 
    {
        return consumablesName;
    }
    public void setConsumablesCount(String consumablesCount) 
    {
        this.consumablesCount = consumablesCount;
    }

    public String getConsumablesCount() 
    {
        return consumablesCount;
    }
    public void setConsumablesUnit(String consumablesUnit) 
    {
        this.consumablesUnit = consumablesUnit;
    }

    public String getConsumablesUnit() 
    {
        return consumablesUnit;
    }
    public void setConsumablesSpecification(String consumablesSpecification) 
    {
        this.consumablesSpecification = consumablesSpecification;
    }

    public String getConsumablesSpecification() 
    {
        return consumablesSpecification;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("consumablesId", getConsumablesId())
            .append("consumablesName", getConsumablesName())
            .append("consumablesCount", getConsumablesCount())
            .append("consumablesUnit", getConsumablesUnit())
            .append("consumablesSpecification", getConsumablesSpecification())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
